package com.settlement.system.model.entity.common;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.settlement.system.converter.WpDeliveryTypeConvert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 稽核明细存档结果
 * @author xiaochuan
 * @since 2022-07-04
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblWpAuditArchiveResult extends BaseModel implements Serializable {


    /**
     * 商家编码
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "商家编码")
    @ApiModelProperty(value = "商家编码")
    private String vendorCode;

    /**
     * 店铺编码
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "店铺编码")
    @ApiModelProperty(value = "店铺编码")
    private String shopNo;

    /**
     * 发货模式
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "发货模式",converter = WpDeliveryTypeConvert.class)
    @ApiModelProperty(value = "发货模式")
    private Integer deliveryType;

    /**
     * POSKU
     */
    @ColumnWidth(40)
    @ExcelProperty(value = "POSKU")
    @ApiModelProperty(value = "POSKU")
    private String poSku;

    /**
     * PO单号
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "PO单号")
    @ApiModelProperty(value = "PO单号")
    private String poNo;

    /**
     * 商品条码
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "商品条码")
    @ApiModelProperty(value = "商品条码")
    private String barCode;

    /**
     * 唯品单价
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "唯品单价")
    @ApiModelProperty(value = "唯品单价")
    private Double wpUnitPrice;

    /**
     * 品牌部编码
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "品牌部编码")
    @ApiModelProperty(value = "品牌部编码")
    private String brandUnitNo;

    /**
     * 品牌部名称
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "品牌部名称")
    @ApiModelProperty(value = "品牌部名称")
    private String brandUnitName;

    /**
     * 未结算数量
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "未结算数量")
    @ApiModelProperty(value = "未结算数量")
    private Double unBalanceQty;

    /**
     * 未结算金额
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "未结算金额")
    @ApiModelProperty(value = "未结算金额")
    private Double unBalanceAmount;


}
